body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

#chatContainer {
    display: flex;
}

#chatMessages,
#onlineUsers {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 300px;
    height: 300px;
    overflow-y: scroll;
}

#chatMessages {
    margin-right: 10px;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 5px;
}

input[type="text"] {
    padding: 8px;
    margin-bottom: 10px;
}

button {
    padding: 8px;
}

.messageContainer {
    margin-bottom: 10px;
}

.username {
    font-weight: bold;
    color: #333;
}

.messageText {
    margin-left: 10px;
}

.onlineUser {
    cursor: pointer;
}